.fancy-gallery.thumbnails-only {
  overflow: hidden;
}